<script type="text/javascript">
<{include file='order/waitshipment/js/index.js'}>
</script>
<script type="text/javascript" src="/js/order/waitshipment/search-putaway.js"></script>
<link href="/css/order/order.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
    .myTab table td{ border:0;text-align:left;}
</style>
<style type="text/css">
    #iTitle div {
        display: inline-block;
        float: left;
        padding: 0 0 0 10px;
        margin-bottom: 12px;
    }

    .mySelect {
        height: 22px;
        border: 1px solid #CCCCCC;
    }

    #iTitle input {
        height: 20px;
        border: 1px solid #CCCCCC;
    }

    #content table {
        border: 0px solid #C9C9C9;
    }

    #content table tr {
        background: none repeat scroll 0 0 #F2F8FD;

    }

    #content table tr td {
        border: 1px solid #C9C9C9;
        padding: 3px 1px;
    }

    .note {
        word-break: break-all;
    }
	h1 {
       margin: 0;
       padding: 0px;
    }
	.right-content h1 {
      border-bottom: 0px solid #CCCCCC;
      margin: 10px auto;
   }
   h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0px;
  }
  .right-content h3 {
    border-bottom: 1px solid #CCCCCC;
    margin: 1px auto;
}

.button {
    background: url("/images/left-menu-li.gif") repeat-y scroll left top #F1F6F9;
    border: 1px solid #318DAC;
    border-radius: 3px 3px 3px 3px;
    color: #318DAC;
    font-weight: lighter;
    margin: auto 5px;
    padding: 2px 5px;
    vertical-align: middle;
}
</style>

<div class="search_div">
    <div id="iTitle">
        <div style="padding:0;margin-bottom:8px;">
            <input type="button" id="SwichBrowseType" onclick="swichBrowseType(this);" value="<{$lang.folder}><{$lang.product}>" class="button"/>
        </div>
    </div>
    <form id="sForm" name="sForm">
		<div>
		<label>
			<input type="hidden" id="orders_code_sch" name="orders_code_sch" class="myInput" />
			<input type="hidden" name="shipping_method" id="shipping_method_sch" />
		</label>&nbsp;
		<label>
                <{$lang.from}>:<input type="text" value="" onfocus="this.value=''" name="dateFrom" style="width:70px;" id="dateFrom" class="myInput"/>
            </label>&nbsp;
            <label>
                <{$lang.to}>:<input type="text" value="" onfocus="this.value=''" name="dateTo" style="width:70px;" id="dateTo" class="myInput"/>
            </label>&nbsp;
			<label>
			<{$lang.shipping_method}>:<select name="st_name" onchange="search();">
				<option value=""><{$lang.pls}></option>
				<{section name=st_name loop=$shipTypeArr}>
				   <option value="<{$shipTypeArr[st_name].st_name}>"><{$shipTypeArr[st_name].st_name}></option>
				<{/section}>
			</select>
		</label>&nbsp;
		<input class="button" type="button" value="<{$lang.search}>" onclick="search();">&nbsp;&nbsp;
		</div>

	</form>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="myTab">
    <tbody width="100%">
    <tr class="even-tr">
        <th><input type="checkbox" name="ckAll" id="ckAll"/></th>
        <th><{$lang.orders_code}></th>
        <th><{$lang.user}></th>
        <th><{$lang.country}></th>
        <th><{$lang.shipping_method}></th>
       <!-- <th><{$lang.total_price}></th>-->
        <th><{$lang.create}><{$lang.date}></th>
        <th><{$lang.status}></th>
       <!-- <th><{$lang.log}></th>-->
    </tr>
    </tbody>
    <tbody id="loadData"></tbody>
</table>
<div class="pagination"></div>



<div id='content'>
    <form name="waitshipmentForm" id="waitshipmentForm">
        <table style="text-align:right" width="100%">
            <tr>
                <td id="dnidInfo" colspan="5" align="left"></td>
            </tr>

            <tr class="fee1"></tr>
            <tr></tr>

            <tr class="fee1" style="text-align:left">
			    <td style="width:5%;" align="left">
                    
                </td>
                <td style="width:15%;" align="right">
				    <h1><{$lang.orders_code}>:</h1>
				</td>

                <td style="width:40%;">
				  <h3><input type='text' name='orders_shipment' id='orders_shipment' align="left"
                           style="width:98%;height:38px;font-size:2.65em;text-align:left;padding-left:2px"
                           value="" onkeyup="if(event.keyCode==13){checkorder();}" ></h3>
                </td>
                <td style="width:12%;" align="right">
                   <h1><{$lang.shipping_method}>:</h1>
                </td>

                <td style="width:28%;" align="left">
                    <label style="font-size:2.65em;" name="shipmode" id="shipmode"></label>

                </td>

            </tr>

            <tr class="fee1" style="text-align:left">
                <td style="width:5%;" align="left">

                </td>
                <td style="width:15%;" align="right">
                    <h1><{$lang.shipping_code}>:</h1>
                </td>

                <td colspan="3">
                    <h3><input type='text' name='tracking_number' id='tracking_number' align="left"
                               style="width:49%;height:38px;font-size:2.65em;text-align:left;padding-left:2px"
                               value="" onkeyup="if(event.keyCode==13){checkorder();}"  ></h3>
                </td>

            </tr>

			<tr class="fee1" style="text-align:left">
			    <td style="width:5%;" align="left">
                    
                </td>
                <td style="width:15%;" align="right">
				   <h1><{$lang.weight}>(kg):</h1>
				</td>

                <td style="width:40%;">
				  <h3><input type='text' name='os_weight' id='os_weight' align="left" style="width:38%;height:38px;font-size:2.65em;text-align:left;padding-left:2px"
                           value="" onkeyup="if(event.keyCode==13){checkweight();}"></h3>
                </td>
                <td style="width:12%;" align="left">
                   
                </td>
                 
                <td style="width:28%;" align="left">
                    
                </td>

            </tr>
			
			
			
			
			<tr class="fee1" style="text-align:left">
			    <td style="width:5%;" align="left">
                    
                </td>
                <td style="width:15%;" align="right">
				   <h1><{$lang.length}><{$lang.width}><{$lang.height}>(cm):</h1>
				</td>
				
                <td style="width:40%;">
				   <input type='text' autocomplete="off" onkeydown="this.style.color='#404040';"  name='txt_length' id='txt_length' value="<{$lang.length}>" align="left" style="color: rgb(182, 183, 185);width:26%;height:38px;font-size:2.65em;text-align:left;padding-left:2px"
                            onkeyup="if(event.keyCode==13){checklength();}">		   
				  
				  X<input type='text' autocomplete="off" onkeydown="this.style.color='#404040';"  name='txt_width' id='txt_width' value="<{$lang.width}>" align="left" style="color: rgb(182, 183, 185);width:26%;height:38px;font-size:2.65em;text-align:left;padding-left:2px"
                            onkeyup="if(event.keyCode==13){checkwidth();}">
						   
				   X<input type='text' autocomplete="off" onkeydown="this.style.color='#404040';"  name='txt_height' id='txt_height' value="<{$lang.height}>" align="left" style="color: rgb(182, 183, 185);width:26%;height:38px;font-size:2.65em;text-align:left;padding-left:2px"
                            onkeyup="if(event.keyCode==13){checkheight();}">
							 <label id="eq" name="eq" style="font-size:2.65em;color:#000000;"></label>
                </td>
                <td style="width:12%;" align="right">
                  <h1><{$lang.weight}>(kg):</h1>
                </td>
                 
                <td style="width:28%;" align="left">
                     <label id="voresult" name="voresult" style="font-size:2.65em;width:99px;overflow:hidden;">0</label>
                </td>
                <input type="hidden" value="0" name="volWeightRate" id="volWeightRate" />
            </tr>
			
			
			

            <tr class="fee"></tr>
            <tr></tr>
			
			<tr class="fee1" style="text-align:left">
			    <td style="width:5%;" align="left">&nbsp;&nbsp;
                    
                </td>
                <td style="width:15%;">
				</td>

                <td style="width:40%;">
				     <input type="button" style="width:88px;height:58px;font-size:2.65em;" class="button" value="<{$lang.ship}>" onclick="postsubmit();">
					 <label id="msgshow" name="msgshow" style="font-size:2.65em;color:#0033FF;"></label>
				    <input type='hidden' value='' name="shipType" id="shipType">
					
                </td>
                <td style="width:12%;" align="left">&nbsp;&nbsp;
                    
                </td>
                
                <td style="width:28%;" align="left">&nbsp;&nbsp;
                    
                </td>

            </tr>
			
            <tr>
			    
                
               
            </tr>
        </table>
		
		
		<table style="text-align:left" width="100%">
			<tr>
			 <td>
				(<{$lang.current}>)-<{$lang.shipping_method}>(<{$lang.ship}><{$lang.quantity}>):
			 </td>
			</tr>
			<tr>
			  <td>
				   <div id="temp_allspc">
				   
				   </div>
			  </td>
			</tr>
			<tr>
			 <td>
				(<{$lang.current}>)<{$lang.heji}>:(<span style="display:inline-block;color:#0000FF;font-size:16px;" id="temp_shipCount">0</span>)
			 </td>
			</tr>
		</table>
		
		
		<table style="text-align:left" width="100%">
			<tr>
			 <td>
				(<{$lang.current_day}>)-<{$lang.shipping_method}>(<{$lang.ship}><{$lang.quantity}>):
			 </td>
			</tr>
			<tr>
			  <td>
				   <div id="allspc">
				   <{foreach from=$countShipMethodRow item=csmr key=key name=csmr}>
					   <label style="float:left;width:100px;padding-left:10px;white-space:nowrap;">
					   <{$csmr.shipping_method}>(<span style="display:inline-block;color:#0000FF; font-size:14px;" id="<{$csmr.shipping_method}>"><{$csmr.count}></span>)</label>
				   <{/foreach}>
				
				</div>
			  </td>
			</tr>
			<tr>
			 <td>
				(<{$lang.current_day}>)<{$lang.heji}>:(<span style="display:inline-block;color:#0000FF;font-size:16px;" id="shipCount"> <{$shipCount}></span>)
			 </td>
			</tr>
		</table>
		
    </form>
</div>
